<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
	<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
	<meta content="yes" name="apple-mobile-web-app-capable" />
	<meta content="black" name="apple-mobile-web-app-status-bar-style" />
	<meta content="telephone=no" name="format-detection" />
    <title>详情服务</title>
	<link href="{$smarty.const.HOME_CSS_URL}/CSS.css" rel="stylesheet" type="text/css">
	<script src="{$smarty.const.HOME_JS_URL}/jquery.js" type="text/javascript"></script>
	<script src="{$smarty.const.HOME_JS_URL}/js.js" type="text/javascript"></script>
</head>
<body class="body_box" onload="addMsg()">
<div class="add_serve" style="display:{$style}">
    <h1>添加服务</h1>
    <a href="{$smarty.const.__CONTROLLER__}/add_need/goods_id/{$goods_id}"><img onClick="saveCookie()" src="{$smarty.const.HOME_IMG_URL}/uploading.png"></a>
</div>
<!-- 内容区 -->
<div class="leave_msg_box">
	<h1>留言</h1>
	<div class="leave_msg_text">
		<textarea class="weui_textarea " rows="3" id="memo"  onClick="check(this.id)" onChange="check(this.id)" onKeyUp="lenthnum()">{$msg}</textarea>
		<div class="text_limit">
			<span id="zinumjia">0</span>/
			<span id="zinumjian">200</span>
		</div>
	</div>
</div>
<input type="hidden" id="goods_id" value="{$goods_id}" />
<input type="hidden" id="serve_id" value="{$serve_id}" />
<input type="hidden" id="s_user_id" value="{$s_user_id}" />





<div class="content_box">
    <!--显示添加服务信息-->
    {if $info != null}
    <div class="content" onClick="saveCookie()" >  
        <a href="{$smarty.const.__CONTROLLER__}/add_need/goods_id/{$goods_id}">   
            <div class="content_photo">
                <img src="{$info.goods_photo}">
            </div>
            <div class="content_text ">
                <h1>{$info.goods_title}</h1>
                <span class="budget_price">预算：{$info.price}元</span>
                <span class="browse_num">{$info.browse_num}人浏览</span>
            </div>
            <div class="clearfix"></div>
        </a>
    </div> 
    {/if}
   
   
</div>
<div class="add_msg_OK" onClick="save_msg()">确定提交</div>
</body>
</html>
